package com.dz.risk.pojo.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 债券风险信息表
 * 
 * @author yinpl
 * @email 
 * @date 2021-07-08 15:52:08
 */
@Data
@ApiModel(value = "债券风险信息表实体")
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
@ExcelTarget("bondRiskInformationSheetEntityList")
@TableName(value = "t_st_bond_risk_information_sheet", autoResultMap = true)
public class BondRiskInformationSheetEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	@ApiModelProperty(value = "主键")
	@Excel(name = "主键")
	private String id;
	/**
	 * 债券名称
	 */
	@ApiModelProperty(value = "债券名称")
	@Excel(name = "债券名称")
	private String bondName;
	/**
	 * 代码
	 */
	@ApiModelProperty(value = "代码")
	@Excel(name = "代码")
	private String bondCode;
	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	@Excel(name = "状态")
	private Integer status;
	/**
	 * 持仓数量
	 */
	@ApiModelProperty(value = "持仓数量")
	@Excel(name = "持仓数量")
	private BigDecimal positionTheNumber;
	/**
	 * 上月末自由卷数量
	 */
	@ApiModelProperty(value = "上月末自由卷数量")
	@Excel(name = "上月末自由卷数量")
	private BigDecimal numberOfFreeVolumesAtTheEndOfLastMonth;
	/**
	 * 上月末账面价值
	 */
	@ApiModelProperty(value = "上月末账面价值")
	@Excel(name = "上月末账面价值")
	private BigDecimal bookValueAtTheEndOfLastMonth;
	/**
	 * 减值规模
	 */
	@ApiModelProperty(value = "减值规模")
	@Excel(name = "减值规模")
	private BigDecimal impairmentScale;
	/**
	 * 剩余月份
	 */
	@ApiModelProperty(value = "剩余月份")
	@Excel(name = "剩余月份")
	private BigDecimal inTheRemaining;
	/**
	 * 到期日
	 */
	@ApiModelProperty(value = "到期日")
	@Excel(name = "到期日")
	private Date endInterestDay;
	/**
	 * 剩余期限
	 */
	@ApiModelProperty(value = "剩余期限")
	@Excel(name = "剩余期限")
	private String residualMaturity;
	/**
	 * 资产类型
	 */
	@ApiModelProperty(value = "减值金额")
	@Excel(name = "减值金额")
	private String assetTypes;
	/**
	 * 上月末债券评级
	 */
	@ApiModelProperty(value = "上月末债券评级")
	@Excel(name = "上月末债券评级")
	private String bondRatingAtTheEndOfLastMonth;
	/**
	 * 月末债券评级分类
	 */
	@ApiModelProperty(value = "月末债券评级分类")
	@Excel(name = "月末债券评级分类")
	private String atTheEndOfTheBondRatingClassification;
	/**
	 * 优质流动性资产
	 */
	@ApiModelProperty(value = "优质流动性资产")
	@Excel(name = "优质流动性资产")
	private BigDecimal highQualityLiquidAssets;
	/**
	 * 信用调整（中债隐含评级）
	 */
	@ApiModelProperty(value = "信用调整（中债隐含评级）")
	@Excel(name = "信用调整（中债隐含评级）")
	private String creditAdjustment;
	/**
	 * 信用调整分类（中债隐含评级）
	 */
	@Excel(name = "信用调整分类（中债隐含评级）")
	@ApiModelProperty(value = "信用调整分类（中债隐含评级）")
	private String creditAdjustmentClassify;
	/**
	 * 信用评级是否降档
	 */
	@Excel(name = "信用评级是否降档")
	@ApiModelProperty(value = "信用评级是否降档")
	private String whetherTheCreditRatingIsDowngraded;
	/**
	 * 下降1个等级
	 */
	@Excel(name = "下降1个等级")
	@ApiModelProperty(value = "下降1个等级")
	private String decreasedByOneLevels;
	/**
	 * 下降2个等级
	 */
	@Excel(name = "下降2个等级")
	@ApiModelProperty(value = "下降2个等级")
	private String decreasedByTwoLevels;
	/**
	 * 下降3个等级
	 */
	@Excel(name = "下降3个等级")
	@ApiModelProperty(value = "下降3个等级")
	private String decreasedByThreeLevels;
	/**
	 * 下降1个等级PD
	 */
	@Excel(name = "下降1个等级PD")
	@ApiModelProperty(value = "下降1个等级PD")
	private String decreasePdByOneLevels;
	/**
	 * 下降2个等级PD
	 */
	@Excel(name = "下降2个等级PD")
	@ApiModelProperty(value = "下降2个等级PD")
	private String decreasePdByTwoLevels;
	/**
	 * 下降3个等级PD
	 */
	@Excel(name = "下降3个等级PD")
	@ApiModelProperty(value = "下降3个等级PD")
	private String decreasePdByThreeLevels;
	/**
	 * 估值调整后规模
	 */
	@Excel(name = "估值调整后规模")
	@ApiModelProperty(value = "估值调整后规模")
	private BigDecimal valuationAdjustedSize;
	/**
	 * 估值调整后规模*违约率（轻度）
	 */
	@Excel(name = "估值调整后规模*违约率（轻度）")
	@ApiModelProperty(value = "估值调整后规模*违约率（轻度）")
	private BigDecimal mild;
	/**
	 * 估值调整后规模*违约率（中度）
	 */
	@Excel(name = "估值调整后规模*违约率（中度）")
	@ApiModelProperty(value = "估值调整后规模*违约率（中度）")
	private BigDecimal moderate;
	/**
	 * 估值调整后规模*违约率（重度）
	 */
	@Excel(name = "估值调整后规模*违约率（重度）")
	@ApiModelProperty(value = "估值调整后规模*违约率（重度）")
	private BigDecimal severe;
	/**
	 * 版本日期
	 */
	@Excel(name = "版本日期")
	@ApiModelProperty(value = "版本日期")
	private Long version;



}
